package com.niit.onlinemusic.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 映射到数据库的admin表
 */
@TableName("admin")
@Data
public class Admin implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String password;

}
